package com.yss.reportworld.service;

import com.yss.reportworld.domain.kettle.EtlJobTask;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 报表世界kettle处理的类
 */
public interface IKettleService {

    /**
     * 下载kettle文件
     *
     * @param response
     * @param etlJobTask
     */
    public void downKettleExecl(HttpServletResponse response, EtlJobTask etlJobTask);

    /**
     * 生成SQL文件
     *
     * @param multipartFile
     * @return
     */
    public String getKettleSql(MultipartFile multipartFile, String hisVersion);
}
